package com.shrct.businessprocess.customerservice.proxy;

import com.shrct.businessprocess.customerservice.proxy.RCFaultWorkItemAction;
import com.uniquesoft.gwt.shared.GWTNamedEntity;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.customerservice.RCFaultWorkItem")
public class RCFaultWorkItemProxy extends GWTNamedEntity {
  public RCFaultWorkItemProxy() {
    this.setClazzName("com.shrct.businessprocess.customerservice.RCFaultWorkItem");
  }
  
  private String status;
  
  public void setStatus(final String status) {
    this.status = status;
  }
  
  public String getStatus() {
    return this.status;
  }
  
  public Boolean isActionValid(final RCFaultWorkItemAction action) {
    return RCFaultWorkItemManager.isActionValid(action,status);
  }
}
